
\long\def\TEST[#1]#2#3{%
\begin{tikzpicture}
	\begin{axis}[clip=false,axis lines=center,min=#2,max=#3,#1,
		title={
			x=\pgfmathprintnumber{\pgfkeysvalueof{/pgfplots/xmin}}:\pgfmathprintnumber{\pgfkeysvalueof{/pgfplots/xmax}};
			y=\pgfmathprintnumber{\pgfkeysvalueof{/pgfplots/ymin}}:\pgfmathprintnumber{\pgfkeysvalueof{/pgfplots/ymax}};
			z=\pgfmathprintnumber{\pgfkeysvalueof{/pgfplots/zmin}}:\pgfmathprintnumber{\pgfkeysvalueof{/pgfplots/zmax}};
		}]
	\node at (rel axis cs:%
		{\pgfkeysvalueof{/pgfplots/xmax} < 0 ? 0 : 1},%
		{(min(max(0,\pgfkeysvalueof{/pgfplots/ymin}),\pgfkeysvalueof{/pgfplots/ymax})-\pgfkeysvalueof{/pgfplots/ymin})/(\pgfkeysvalueof{/pgfplots/ymax}-\pgfkeysvalueof{/pgfplots/ymin})},%
		{(min(max(0,\pgfkeysvalueof{/pgfplots/zmin}),\pgfkeysvalueof{/pgfplots/zmax})-\pgfkeysvalueof{/pgfplots/zmin})/(\pgfkeysvalueof{/pgfplots/zmax}-\pgfkeysvalueof{/pgfplots/zmin})}) {X};
	
	\end{axis}
\end{tikzpicture}
}

